﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsBusiness_tb_UserPermiss
    {
        public static clsControllertb_UserPermiss cls = new clsControllertb_UserPermiss();
        #region[Get-Data]
        public DataTable BindGridUserPermiss()
        {
            return cls.BindGridUserPermiss();
        }
        public DataTable BindGridUserPermissDetail_Edit(int id)
        {
            return cls.BindGridUserPermissDetail_Edit(id);
        }
        public DataTable BindGridUserPermissDel(int id)
        {
            return cls.BindGridUserPermissDel(id);
        }
        public DataTable BindGridUserPermissFillter(int id)
        {
            return cls.BindGridUserPermissFillter(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertRoles(VanTaiProperty.clsTMUserPermissProperty obj)
        {
            return cls.InsertRoles(obj);
        }
        public static bool UpdateRoles(VanTaiProperty.clsTMUserPermissProperty obj)
        {
            return cls.UpdateRoles(obj);
        }
        public static bool DeleteRoles(int id_1)
        {
            return cls.DeleteRoles(id_1);
        }
        #endregion

        #region[Search-Fillter]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        public DataTable FillterModun(int id)
        {
            return cls.Fillter(id);
        }
        #endregion
    }
}
